/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.base.domain.req;

import com.xy.lang.validation.annotation.AlertMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 *
 * 
 * @author zsp
 * @date 2020-5-24
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListDictRequest {

	//@NotNull(message = "pageIndexRequired")
	@AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
	private Integer pageIndex;

	//@NotNull(message = "pageSizeRequired")
	@AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
	private Integer pageSize;

	/**
	 * 字典分组编码
	 */
	private String dictGroupCode;
	/**
	 * 字典编码
	 */
	private String dictCode;
	/**
	 * 父字典Id
	 */
	private Long parentDictId;
	/**
	 * 是否查询上级分类
	 */
	private Boolean withParent;
	/**
	 * 是否查询属性
	 */
	private Boolean withProperty;

}
